Dxl exectuing during CPS application

During the application of a CPS Groups, i need to start a DXL to confirm some informations.
I Tried touse an object, post, save trigger to activate my dxl.
The dxl is basically a form with two fields to confirme the values and the Ok button.

The problem is that the trigger is activated, the form is displayed, but the CPS execution doesn´t wait the dxl execution. So, instead i have one windows per time, if my CPS group has 30 changes, i have 30 forms oppened at the same time.

Is it posible to set something like "priority" to make the CPS wait the dxl execution to continue?

Regards,
Silveira
Silveirax - Tue May 31 15:43:02 EDT 2011

Re: Dxl exectuing during CPS application
Mathias Mamsch - Wed Jun 01 04:57:56 EDT 2011

How about "block" ing the form instead of "show" ing it? This will make DOORS wait till the script ends. Maybe this helps, regards, Mathias

Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Re: Dxl exectuing during CPS application
Silveirax - Thu Jun 02 16:18:37 EDT 2011

Ok, this is the exact thing i need! Thanks.

Re: Dxl exectuing during CPS application
llandale - Fri Jun 03 12:27:54 EDT 2011

Silveirax - Thu Jun 02 16:18:37 EDT 2011
Ok, this is the exact thing i need! Thanks.

Dialogs intended for 'show' are structured a little different than those intended for 'block'. For blocked dialogs, the 'close' callback should simply 'release' the DB. The 'block' command should be followed by a 'destroy' command. See here for an example:

https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14482773&#14482773

Also, code following a 'block' is executed but code following a 'show' is not.
show(db)
errorBox("If you ever see this then Louie is wrong")
...
block(db)
infoBox("You see this after the dialog is 'release'd")

  • Louie